package com.designpattern.softwaredesignpatternstudy.pattern.adapter.extend;

import com.designpattern.softwaredesignpatternstudy.pattern.adapter.Banner;
import com.designpattern.softwaredesignpatternstudy.pattern.adapter.extend.Print;

/**
 * @author LitchiShell
 * @description:
 * @create 2022-02-01
 */
public class PrintBanner extends Banner implements Print {

    public PrintBanner(String string) {
        super(string);
    }

    @Override
    public void printWeak() {
        showWithParen();
    }

    @Override
    public void printStrong() {
        showWithAster();
    }
}
